package com.shen.server.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.security.core.parameters.P;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 消息
* @date: 2022/4/24
* @return
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ChatMsg  {

    //发送对象
    private String from;
    //接收对象
    private String to;
    //发送内容
    private String content;
    //发送时间
    private LocalDateTime createTime;
    //发送者昵称
    private String formNickName;
}
